dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
7840373
)
Merge "Un-deprecate ArticleAfterFetchContentObject hook"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 17 Jan 2017 00:13:15 +0000
(
00:13
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 17 Jan 2017 00:13:15 +0000
(
00:13
+0000)
includes/page/Article.php
patch
|
blob
|
history
diff --git
a/includes/page/Article.php
b/includes/page/Article.php
index
a493854
..
a33c84f
100644
(file)
--- a/
includes/page/Article.php
+++ b/
includes/page/Article.php
@@
-391,10
+391,9
@@
class Article implements Page {
// Avoid PHP 7.1 warning of passing $this by reference
$articlePage = $this;
-
ContentHandler::runLegacyHooks
(
+
Hooks::run
(
'ArticleAfterFetchContentObject',
- [ &$articlePage, &$this->mContentObject ],
- '1.21'
+ [ &$articlePage, &$this->mContentObject ]
);
return $this->mContentObject;